package com.qzxy.premiumhotelsystem.common.annotation;

import com.qzxy.premiumhotelsystem.common.enums.LogLevel;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: iQNRen
 * @Description: 生成日志
 * @Date: 2024/9/18 13:50 周三
 * @Version: 1.0
 */

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface LogExecutionTime {
    String operator() default "";

    String message() default "";

    LogLevel level() default LogLevel.INFO;
}


